package edu.zju.gis.dldsj.dao;

import edu.zju.gis.dldsj.base.BaseMapper;
import edu.zju.gis.dldsj.entity.TaskRecord;

import java.util.List;

public interface TaskRecordMapper extends BaseMapper<TaskRecord, String> {
    int deleteByPrimaryKey(String applicationId);

    int insert(TaskRecord record);

    int insertSelective(TaskRecord record);

    TaskRecord selectByPrimaryKey(String applicationId);

    int updateByPrimaryKeySelective(TaskRecord record);

    int updateByPrimaryKeyWithBLOBs(TaskRecord record);

    int updateByPrimaryKey(TaskRecord record);

    List<TaskRecord> selectByCreateUser(String user);

    List<TaskRecord> selectByCreateUserWithState(String user, String state);

    List<TaskRecord> selectByCreateUserWithOutState(String user, String state);
}